import Router from 'koa-router';
import {
    uploadIniMid,queryIniMid
} from '@/business/middleware/equipment/equipmentUpload.middleware';
import IndexCon from '@/business/controller';
import { hasPermi } from '@/business/middleware/common/auth';

const router = new Router({ prefix: '/equipment' });


// 上传
// router.post('/equipmentUpload/import', hasPermi('equipment'), uploadIniMid, IndexCon('用户上传ini成功'));
router.get('/equipmentUpload/query', hasPermi('equipment'), queryIniMid, IndexCon('查询成功'));

export default router;
